﻿namespace AbstractFactory
{
    internal abstract class Tray : Item
    {
        protected List<Item> tray = new();
        protected Tray(string caption) : base(caption)
        {
        }

        public void Add(Item item) 
        {
            tray.Add(item);
        }
    }
}
